#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int deno = 0;
	int term = 1;
	int sum = 0;
	int sign = 1;
	sign = (-1) * sign;
		for (deno = 2; deno <= 100; deno++)
		{
			sign = sign * (1 / deno);
			sum = term + sign;
			printf("%d ", sum);
		}
		printf("%d\n", sum);

	return 0;
}